<?php

namespace App\Http\Controllers;

use Illuminate\Http\Request;
use App\User;

class UserController extends Controller
{
    public function index(){
        $users= User::paginate(4);
        return view('users.index', compact('users'));
    }
}
